computeSystemWindowInsets
open fun computeSystemWindowInsets(@NonNull view: View, @NonNull insets: WindowInsetsCompat, @NonNull outLocalInsets: Rect): WindowInsetsCompat(source)
Compute insets that should be consumed by this view and the ones that should propagate to those under it.
Return
Insets that should be passed along to views under this one
Parameters
view
view for which insets need to be computed.
insets
Insets currently being processed by this View, likely received as a parameter to onApplyWindowInsets.
outLocalInsets
A Rect that will receive the insets that should be consumed by this view